package com.riant.myspring.spring;

//bean实例化之前做的事情，bean实例化之后做的事情

import org.springframework.beans.BeansException;

public interface BeanPostProcessor {
    //bean实例化之前做的事情
    Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException;
    //bean实例化之后做的事情
    Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException ;
}
